{{extend ('./common/studentyalout.html')}}
{{#block("body")}}
<div class="main-container">
	<div class="padding-md">
		<h2 class="header-text">
			添加反馈
		</h2>
		<div class="smart-widget m-top-lg widget-dark-blue">
			<div class="smart-widget-header">
				添加反馈
				<span class="smart-widget-option">
								<span class="refresh-icon-animated">
									<i class="fa fa-circle-o-notch fa-spin"></i>
								</span>
	                            <a href="#" class="widget-toggle-hidden-option">
	                                <i class="fa fa-cog"></i>
	                            </a>
	                            <a href="#" class="widget-collapse-option" data-toggle="collapse">
	                                <i class="fa fa-chevron-up"></i>
	                            </a>
	                            <a href="#" class="widget-refresh-option">
	                                <i class="fa fa-refresh"></i>
	                            </a>
	                            <a href="#" class="widget-remove-option">
	                                <i class="fa fa-times"></i>
	                            </a>
	                        </span>
			</div>
			<div class="smart-widget-inner">
				<div class="smart-widget-hidden-section">
					<ul class="widget-color-list clearfix">
						<li style="background-color:#20232b;" data-color="widget-dark"></li>
						<li style="background-color:#4c5f70;" data-color="widget-dark-blue"></li>
						<li style="background-color:#23b7e5;" data-color="widget-blue"></li>
						<li style="background-color:#2baab1;" data-color="widget-green"></li>
						<li style="background-color:#edbc6c;" data-color="widget-yellow"></li>
						<li style="background-color:#fbc852;" data-color="widget-orange"></li>
						<li style="background-color:#e36159;" data-color="widget-red"></li>
						<li style="background-color:#7266ba;" data-color="widget-purple"></li>
						<li style="background-color:#f5f5f5;" data-color="widget-light-grey"></li>
						<li style="background-color:#fff;" data-color="reset"></li>
					</ul>
				</div>
				<div class="smart-widget-body">
					<form method="post">

						

						  <div class="form-group">
							<label class="col-lg-2 control-label">学生反馈</label>
							<div class="col-lg-10">
							  <select class="form-control" name="stu_id">

							       {{#each(srr)}}

									    <option value="{{this.stu_id}}" {{{arr.stu_id===this.stu_id?"selected":""}}}>{{this.stu_name}}</option>

								   {{/each}}
							  </select>

							 </div><!-- /.col -->
							</div>

						   <div class="form-group">
							<label class="col-lg-2 control-label">反馈教师</label>
							<div class="col-lg-10">
							  <select class="form-control" name="teach_id">

							       {{#each(trr)}}

									    <option value="{{this.teach_id}}" {{{arr.teach_id===this.teach_id?"selected":""}}}>{{this.teach_name}}</option>

								   {{/each}}
							  </select>

							 </div><!-- /.col -->
							</div>

						    <div class="form-group">
							<label class="col-lg-2 control-label">反馈班级</label>
							<div class="col-lg-10">
							  <select class="form-control" name="class_id">

							       {{#each(crr)}}

									    <option value="{{this.class_id}}"  {{{arr.class_id===this.class_id?"selected":""}}}>{{this.class_name}}</option>

								   {{/each}}
							  </select>

							 </div><!-- /.col -->
							</div>

			             <div class="form-group">

							 <label>反馈内容</label>
							<textarea class="form-control" placeholder="Address here..." data-parsley-required="true" data-parsley-group="step2" rows="5" name="message_content" >
							{{arr.message_content}}
							</textarea>

			             </div>
						<div class="form-group">
							<label for="message_time">反馈时间</label>
							<input type="date" class="form-control" name="message_time" id="message_time" value="{{arr.message_time}}">
						</div><!-- /form-group -->


						<button type="submit" class="btn btn-success btn-sm">Submit</button>


					</form>
				</div>
			</div><!-- ./smart-widget-inner -->
		</div>

	</div>
</div>
{{/block}}